<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Insert title here</title>

<script th:src="@{/static/customer/js/jquery.min.js}"></script>
</head>
<body>

	<form id="logout" th:action="@{/logout}" method="post">
		<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}" />
		<a href="javascript:void(0);" id="c-logout">退出登录</a>
	</form>
	
	<script>
	/*<![CDATA[*/
		$(function(){
			$("#c-logout").click(function(){
				$("#logout").submit();
			});
		});
	/*]]>*/
	</script>
</body>
</html>